package com.deplume.ssm.util;

import java.util.Random;

/**
 * Created by libing on 2016/8/17.
 */
public class MathUtil {
    public static String getRandomString(int length){
        Random random = new Random();
        double pross = (1 + random.nextDouble()) * Math.pow(10,length);

        String target = String.valueOf(pross);
        return target.substring(1,length+1);
    }
}
